.section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.section-title {
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #3498db;
    background-color: #f8fafc;
    border-bottom: 1px solid #edf2f7;
}

.settings-list {
    list-style: none;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.3s ease;
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item:hover {
    background-color: #f9fbfd;
}

.setting-info {
    display: flex;
    align-items: center;
}

.icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 18px;
}

.icon-notification {
    background: linear-gradient(135deg, #3498db, #2ecc71);
}

.icon-privacy {
    background: linear-gradient(135deg, #9b59b6, #e74c3c);
}

.icon-data {
    background: linear-gradient(135deg, #f39c12, #d35400);
}

.icon-account {
    background: linear-gradient(135deg, #1abc9c, #16a085);
}

.setting-name {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 4px;
}

.setting-desc {
    font-size: 13px;
    color: #7f8c8d;
    max-width: 240px;
}

/* 开关样式 */
.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e0e6ed;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background: linear-gradient(135deg, #3498db, #2ecc71);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

/* 时间段选择器 */
.time-range {
    width: 100%;
    padding: 15px 0 5px;
    margin-top: 10px;
    border-top: 1px dashed #eaeef5;
    animation: fadeIn 0.4s ease;
    align-items: center;
}

.time-picker {
    align-items: center;
    background: #f8f9ff;
    border-radius: 10px;
    padding: 8px 12px;
}

.time-label {
    font-size: 13px;
    color: #6c7a89;
    margin-right: 8px;
}

.time-select {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    background: white;
    font-size: 16px;
    color: #2d3748;
    outline: none;
    width: 130px;
    text-align: center;
    transition: all 0.3s;
    overflow: scroll;
}

.time-select:focus {
    border-color: #7b68ee;
    box-shadow: 0 0 0 2px rgba(123, 104, 238, 0.2);
}

.time-separator {
    margin: 0 10px;
    color: #a0aec0;
}